package ch07;

import java.util.Random;

/**
 * Created by hasee on 2017/6/20.
 */
public class meanSd {
    public static void main(String[] args) {
        Random rand = new Random();
        double[] data = new double[50];
        for (int i=0;i<50;i++){
            data[i]=rand.nextDouble();
        }
        //至少需要两个for循环
        double sum;

        //sum为data中所有数据的和
        double average;
        //average为平均值
        double sd;
        //sd为标准差
    }
}
